<%@ include file="/WEB-INF/jsp/taglib.jsp" %>

<jsp:useBean id="actionBean" scope="request" type="com.rupertjones.globalcron.web.ProfileAction" />

<s:layout-render name="/WEB-INF/jsp/layout.jsp" title="Global Cron" subtitle="Profile">
    <s:layout-component name="body">

    <s:form action="EditHost.action" beanclass="com.rupertjones.globalcron.web.ProfileAction">
        <s:errors/>
        <h1>Profile</h1>
        <table class="rounded-corner" align="center">
            <tr>
                <td>Password</td>
                <td>
                    <s:password name="user.password" style="width:240px;"/>
                </td>
            </tr>
            <tr>
                <td>Confirm Password</td>
                <td>
                    <s:password name="user.confirmPassword" style="width:240px;"/>
                </td>
            </tr>
            <tr>
                <td colspan="2"><s:submit name="SaveOrUpdate" value="Save"/></td>
            </tr>
        </table>
        <p/>
    </s:form>
    </s:layout-component>
</s:layout-render>
